package com.vhuan.self_discipline_service.domain.battery.po;

import com.baomidou.mybatisplus.annotation.TableName;
import com.vhuan.self_discipline_service.domain.AbstractFocusBaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serial;

@EqualsAndHashCode(callSuper = true)
@Data
@TableName("battery")  // 指定表名
public class BatteryEntity extends AbstractFocusBaseEntity {
    @Serial
    private static final long serialVersionUID = 1L;

    private String title;
    private Integer maxCapacity;
    private String resetPeriod;
    private Long userId;

}
